package com.zzx.dao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gen.service.ILogService;
import com.zzx.entity.Log;

@Service
public class LogServiceImpl implements ILogService{
	@Autowired
	private ILogDao logDao;
	
	@Override
	public int insertInfoToLog(Log log) {
		return logDao.insertInfoToLog(log);
	}

	@Override
	public List<Log> selectAllInfoFromLog(Integer startIndex, Integer pageSize) {
		return logDao.selectAllInfoFromLog(startIndex, pageSize);
	}

	@Override
	public List<Log> selectLogsByUid(Integer uid) {
		return logDao.selectLogsByUid(uid);
	}

}
